const path = require('path')

const history = require('connect-history-api-fallback')

const express = require('express')

const app = express()

app.use(history())

app.use(express.static(path.join(__dirname, '../web')))


app.listen(3000, ()=>{
    console.log('server 开启')
})